﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Observer
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ISupervision" in both code and config file together.
    [ServiceContract]
    public interface ISupervision{

        [OperationContract(IsOneWay = true)]
        void Alert(InvasionAlert alert);

        [OperationContract(IsOneWay = true)]
        void RegisterPalace(String palaceName);

        [OperationContract(IsOneWay = true)]
        void RemovePalace(String palaceName);

        [OperationContract(IsOneWay = true)]
        void RegisterActivity(PalaceActivity activity);

    }
}
